/*
 * vfileOpsFile.h
 *
 *  Created on: Jul 25, 2009
 *      Author: kurt
 */

#ifndef VFILEOPSFILE_H_
#define VFILEOPSFILE_H_

#include <stdio.h>

bool vFILE_open(const char * fname, const char * mode, void *& stream);
void vFILE_close(void *& file);
int vFILE_flush(void * stream);
int vFILE_seek(void * stream, long offset, int origin);
bool vFILE_eof(void * stream);
long vFILE_tell(void * stream);
int vFILE_read(void * buffer, size_t size, size_t num, void * stream);
int vFILE_write(const void *buffer, size_t size, size_t count, void *stream);
bool vFILE_error(void * stream);
bool vFILE_is_open(void * stream);

#endif /* VFILEOPSFILE_H_ */
